dundas.controls.RangeColorRule Class

A binding rule that maps a numeric range of data values into a single color value.
 

Inheritance Hierarchy

 
Class
   dundas.controls.BindingRule
      dundas.controls.ColorBindingRule
         dundas.controls.RangeColorRule
 

Constructors

 
  Name Description
init Initializes a new instance of the RangeColorRule class. Inherited from dundas.controls.BindingRule.
 
 

Properties

 
  Name Description
classes Gets the current set of data binding classes for this rule. Inherited from dundas.controls.BindingRule.
colorScaleFormat Gets or sets the format of the color scale labels. Inherited from dundas.controls.ColorBindingRule.
colorScaleSymbol Gets or sets the text displaced before or after the values in the color scale labels. Inherited from dundas.controls.ColorBindingRule.
colorScaleSymbolPlacement Gets or sets whether the label symbol is placed before or after the value. Inherited from dundas.controls.ColorBindingRule.
dataRange Gets or sets the range of data values this rule applies to.
isDisplayedInColorScale Gets or sets a value indicating whether this color rule is displayed in a color scale in the legend when its classes are ranges of numeric values. Inherited from dundas.controls.ColorBindingRule.
isDisplayedInLegend Gets or sets a value indicating whether this rule is displayed in the legend. Inherited from dundas.controls.BindingRule.
legendCategory Gets or sets the category within which to group legend items displaying this binding rule's classes. Inherited from dundas.controls.BindingRule.
legendText Gets or sets text that can include placeholder keywords used to display the range of values defined by this rule.
value Gets or sets the color value for this rule's data range.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
toString Returns a string representation of this object.